<script>
export default {
  props: {
    showLineNumber: {
      type: Boolean,
      default: true,
    }
  }
}
</script>

<template>
  <table class="report-table">
    <thead>
      <tr>
        <th v-if="showLineNumber" rowspan="3" class="width-40px">行</th>
        <th rowspan="3" style="width: 160px;">能源名称</th>
        <th rowspan="3">计量单位</th>
        <th rowspan="3">代码</th>
        <th rowspan="3">期初库存量</th>
        <th colspan="2">购进量</th>
        <th colspan="5">消费量</th>
        <th rowspan="3">期末库存量</th>
        <th rowspan="3">采用折标系数</th>
        <th rowspan="3">参考折标系数</th>
      </tr>
      <tr>
        <th rowspan="2">实物量</th>
        <th rowspan="2">金额 （千元）</th>
        <th rowspan="2">合计</th>
        <th rowspan="2"><div>工业生产消费</div></th>
        <th><div class="fake1"></div></th>
        <th rowspan="2">非工业生产消费</th>
        <th rowspan="2">合计中:运输工具消费</th>
      </tr>
      <tr>
        <th>用于原材料</th>
      </tr>
      <tr>
        <th>甲</th>
        <th>乙</th>
        <th>丙</th>
        <th>1</th>
        <th>2</th>
        <th>3</th>
        <th>4</th>
        <th>5</th>
        <th>6</th>
        <th>7</th>
        <th>8</th>
        <th>9</th>
        <th>10</th>
        <th>丁</th>
      </tr>
    </thead>
  </table>
</template>

<style scoped>
.report-table th,
.report-table td {
  position: relative;
}
</style>
